home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 January / macformat-020.iso / Shareware City / Developers / Commander Sets / 4D Speech Pack / 4D Speech Pack.rsrc / TEXT_18855_†SP Voice busy.txt < prev    next >
Encoding:
Text File  |  1994-09-14  |  893 b   |  28 lines

  1. SP Voice busy (reference) -> status
  2.  
  3. reference   integer       specifys the channel you the status from. Use
  4.                                     the reference number obtained from the
  5.                                     SP Open Voice function.
  6. status         integer      indicating if the specified speech channel is still
  7.                                    busy speaking.
  8.                   -2    Reference is invalid (out of range)
  9.                   -1    Already closed or never opened
  10.                     0    Finished
  11.                     1    Busy
  12.                     2    Paused
  13.                    (all other values are reserved for future use.)
  14.  
  15. Returns the status of the specified speech channel.
  16.  
  17. Example:
  18.   $err := SP Voice String ($speechref;"Look who is talking!")
  19.  
  20.    `if an error occured this has no impact HERE.
  21.   While (SP Voice Busy ($speechref) = 1)
  22.     IDLE
  23.   End While
  24.  
  25.  
  26.  
  27.  
  28.